<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../jstl/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta name="keywords" content="OVVI OTA Manager">
<meta name="description" content="OVVI OTA Manager">
<title>WQL后台管理系统</title>
<%@ include file="../jstl/common_static_resources.jsp"%>
<script type="text/javascript" src="/static/lib/linkagesel/js/linkagesel.js"></script>
<script type="text/javascript" src="/static/web/js/logo/detail.js"></script>
</head>
<body>
	<nav class="breadcrumb">
		<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> Logo管理 <span class="c-gray en">&gt;</span> Logo详情<a class="btn btn-success radius r" style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
	</nav>
	<div class="page-container">
		<c:if test="${empty logo }">
			<div class="cl pd-5 bg-1 bk-gray mt-20">
				<span class="l"><a class="btn btn-primary radius" onclick="$.newPage('新建Logo','/logo/add')" href="javascript:void(0);"><i class="Hui-iconfont">&#xe600;</i> 新建Logo</a></span>
			</div>
		</c:if>
		<div class="mt-20">
			<c:if test="${not empty logo }">
				<table class="table table-border table-bordered table-bg table-hover table-sort">
					<tbody>
						<tr>
							<td style="text-align: center" width="20%">名称</td>
							<td>${logo.name }</td>
						</tr>
						<c:if test="${not empty logo.linkurl }">
							<tr>
								<td style="text-align: center" width="20%">链接</td>
								<td><a href="${logo.linkurl }" target="_blank">${logo.linkurl }</a></td>
							</tr>
						</c:if>
						<tr>
							<td style="text-align: center" width="20%">图标</td>
							<td><img src="${logo.icon }" width="50" /></td>
						</tr>
						<tr>
							<td style="text-align: center" width="20%">状态</td>
							<td><c:choose>
									<c:when test="${logo.enable }">启用</c:when>
									<c:otherwise>禁用</c:otherwise>
								</c:choose></td>
						</tr>
						<tr>
							<td style="text-align: center" width="20%">操作</td>
							<td><a onclick="$.newPage('修改Logo','/logo/add?id=${logo.id }')" href="javascript:void(0);">修改</a>&nbsp;&nbsp;<a class="cls_oper" href="/logo/delete?id=${logo.id }">删除</a></td>
						</tr>
					</tbody>
				</table>
			</c:if>
		</div>
	</div>
</body>
</html>